package org.hxyjs.dao;

import org.hxyjs.entity.TicketRecord;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface TicketRecordDao {
    public List<TicketRecord> getTicketRecordByPage(PageInfo pageInfo) throws Exception;

    public List<TicketRecord> getAllTicketRecords() throws Exception;

    public TicketRecord getTicketRecordByArcno(String arcno) throws Exception;

    //增删改的返回值都是整数
    Integer deleteTicketRecordByArcno(String arcno) throws Exception;

    Integer updateTicketRecordByArcno(TicketRecord ticketRecord) throws Exception;

    Integer addTicketRecord(TicketRecord ticketRecord) throws Exception;




}
